package com.ywqf_api.dao;

import com.ywqf_api.entity.Message;
import com.ywqf_api.entity.MessageUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/4/2 0002.
 */
public interface MessageDao {

    List<Message> findMessage(@Param("customerId")Integer customerId,@Param("communityId")Integer communityId);

    MessageUser findUser(@Param("releaseUserId")Integer releaseUserId,@Param("communityId")Integer communityId);

    Message findMessageOne(@Param("publicityId")Integer publicityId);
}
